home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / iand.z / iand
Encoding:
Text File  |  2002-10-03  |  2.4 KB  |  69 lines

  1. IAND(3I)                                              Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      IIAANNDD, IIIIAANNDD, JJIIAANNDD, KKIIAANNDD - Performs a logical AANNDD
  6.  
  7. SSYYNNOOPPSSIISS
  8.      IIAANNDD (([II==]_i,, [JJ==]_j))
  9.      IIIIAANNDD (([II==]_i,, [JJ==]_j))
  10.      JJIIAANNDD (([II==]_i,, [JJ==]_j))
  11.      KKIIAANNDD (([II==]_i,, [JJ==]_j))
  12.  
  13. IIMMPPLLEEMMEENNTTAATTIIOONN
  14.      UNICOS, UNICOS/mk, IRIX systems
  15.  
  16.      CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
  17.  
  18. SSTTAANNDDAARRDDSS
  19.      Fortran
  20.  
  21.      Fortran extensions:  IIIIAANNDD, JJIIAANNDD, KKIIAANNDD
  22.  
  23. DDEESSCCRRIIPPTTIIOONN
  24.      The IIAANNDD, IIIIAANNDD, JJIIAANNDD, and KKIIAANNDD intrinsic functions perform a
  25.      logical AANNDD.  They accept the following arguments:
  26.  
  27.      _i         For IIAANNDD, must be of type integer.  For IIIIAANNDD, must be of
  28.                type integer (KIND=2).  For JJIIAANNDD, must be of type integer
  29.                (KIND=4).  For KKIIAANNDD, must be of type integer (KIND=8).
  30.  
  31.      _j         Must be of type integer with the same kind type parameter as
  32.                _i
  33.  
  34.      These are elemental functions.  The names of these intrinsics cannot
  35.      be passed as arguments.
  36.  
  37. RREETTUURRNN VVAALLUUEESS
  38.      The result type and type parameter are the same as _i.  On IRIX
  39.      systems, the result can be affected by the --ii option on the ff9900(1)
  40.      command line.
  41.  
  42.      The result has the value obtained by combining _i and _j bit-by-bit
  43.      according to the following truth table:
  44.  
  45.           -----------------
  46.                   IIAANNDD (_i,
  47.           _i   _j      _j)
  48.           -----------------
  49.           1   1       1
  50.           1   0       0
  51.           0   1       0
  52.           0   0       0
  53.           -----------------
  54.  
  55.      The bit model defines the interpretation of an integer value as a
  56.      sequence of bits.  For more information on the bit model, see the
  57.      MMOODDEELLSS(3I) man page.
  58.  
  59. EEXXAAMMPPLLEESS
  60.      IIAANNDD((11,, 33)) has the value 1.
  61.  
  62. SSEEEE AALLSSOO
  63.      ff9900(1)
  64.  
  65.      MMOODDEELLSS(3I)
  66.  
  67.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  68.      man page.
  69.